﻿#ifndef WEEK_BLOCK_H
#define WEEK_BLOCK_H

#include <QWidget>
#include <QLayout>

class CustomLayout;

namespace Ui {
class week_block;
}

class week_block : public QWidget
{
    Q_OBJECT
protected:
    void resizeEvent(QResizeEvent *event) override;
public:
    explicit week_block(QWidget *parent);
    ~week_block();
    void addWidget(QWidget *parent,int y_);
private:
    Ui::week_block *ui;
    QList<QWidget*> widgetList;
};

#endif // WEEK_BLOCK_H
